Companion
Functions
Helper method to find the DeviceType enum that corresponds to the name found during device advertisement. If an unknown name is provided, DeviceType.UNKNOWN is returned.
Helper method to find the DeviceType enum that corresponds to a byte value. If an unknown byte value is provided, DeviceType.UNKNOWN is returned.
Helper method to find the DeviceType enum that corresponds to an integer value. If an unknown integer value is provided, DeviceType.UNKNOWN is returned.
Helper method to find the DeviceType enum that corresponds to the device short name. If an unknown name is provided, DeviceType.UNKNOWN is returned.
Helper method to find the DeviceType enum that corresponds to the USB VID and PID of a USB device. If an unknown VID and PID combination is provided, DeviceType.UNKNOWN is returned